<?php
	
	if( version_compare(PHP_VERSION, '5.3.0', '<')) die('require php > 5.3.0');
	
	define('APP_DEBUG', TRUE);
	
	define('APP_PATH', './App/'); 
	
	define('RUNTIME_PATH', './Runtime/');
	
	define('BUILD_DIR_SECURE', false);
    if(strpos($_SERVER['HTTP_USER_AGENT'],'MicroMessenger')||strpos(strtolower($_SERVER['HTTP_USER_AGENT']),'android')||strpos(strtolower($_SERVER['HTTP_USER_AGENT']),'iphone')){
		define('WEB_DEVICE', 'mobile');
	}else{
		define('WEB_DEVICE', 'web');
	}
	require './ThinkPHP/ThinkPHP.php';
	
	
	
	
	
	